package cn.edu.scau.cmi.wangjushen.client;

import cn.edu.scau.cmi.wangjushen.simpleFactory.MeatFactory;
import cn.edu.scau.cmi.wangjushen.simpleFactory.domain.Meat;

public class SimpleFactoryClient {

	public static void main(String[] args) {

		Meat beaf = MeatFactory.getMeat("beef");
		beaf.cook();
		
		Meat pork = MeatFactory.getMeat("pork");
		pork.cook();

	}

}
